package Arbori;

import visitor.Visitor;


public class ArboreFunctional {
	protected Nod radacina;
	
	public ArboreFunctional(Nod radacina){
		this.radacina=radacina;
	}
		
	public String toString(){
		return radacina.toString();
	}
	
	public void acceptVisitor(Visitor v){
		v.visit(radacina);
	}	

}
